#!/bin/bash

# Set environment variables for Postgres


docker-compose -f docker/demo.yaml up -d odd-platform-enricher

# sudo docker run -d \
#   --name odd-platform \
#   -e SPRING_DATASOURCE_URL=jdbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DATABASE} \
#   -e SPRING_DATASOURCE_USERNAME=${POSTGRES_USER} \
#   -e SPRING_DATASOURCE_PASSWORD=${POSTGRES_PASSWORD} \
#   -p 8080:8080 \
#   ghcr.io/opendatadiscovery/odd-platform:latest
# docker-compose up -d

# odd-platform
# docker save ghcr.io/opendatadiscovery/odd-platform -o ./cache/odd-platform.docker
# sudo chmod 777 ./cache/odd-platform.docker
